home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Printing / FindPrinter / main.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-09  |  431 b   |  26 lines  |  [TEXT/MMCC]

  1. // Simple testbed for Macintosh sample code
  2. //
  3. // Dave Polaschek
  4. // Developer Technical Support
  5. // AppleLink: DEVSUPPORT
  6. //
  7. // Copyright 1995, Apple Computer,Inc
  8. //
  9. // This file contains main, and nothing else.
  10. // dave    8/15/95    initial cut
  11.  
  12. #include <stdio.h>
  13.  
  14. extern OSErr test(void);        // in CurrentPrinter.c
  15.  
  16.  
  17. void main(void)
  18. {
  19.     OSErr    testResult;
  20.     
  21.     testResult = test();
  22.  
  23.     printf("Return value from test() = %d\n",testResult);
  24. }
  25.  
  26.